'use strict';

// require.config(config);
require.config({
    paths: {
        angular: '../components/angular/angular',
        ngRoute: '../components/angular-route/angular-route',
    },
    shim: {
        'angular': { 'exports': 'angular' },
        'ngRoute': ['angular'],
    },
    priority: [
        "angular"
    ],
});
require([
    'angular',
    'app'
], function(angular, app) {
    var $html = angular.element(document.getElementsByTagName('html')[0]);
    angular.element().ready(function() {
        // bootstrap the app manually
        angular.bootstrap(document, ['myApp']);
    });
});